<%@ Page Language="C#" MasterPageFile="~/Board.Master" AutoEventWireup="true" Codebehind="EditProfile.aspx.cs" Inherits="UserInterface.EditProfile" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder" runat="server">
    <table class="detail-table">
        <tr>
            <th colspan="2"><%= GetLocalResourceObject("VisibleItemsInMessage") %></th>
        </tr>
        <tr>
            <td class="default-column default-form-width"><%= Resources.Resource.Avatar%>:</td>
            <td class="alternate-column">
                <asp:TextBox ID="AvatarTextBox" runat="server" Width="300" />
                <span class="small-text">*<%= GetLocalResourceObject("LeaveBlankForNoAvatar") %>.</span>
            </td>
        </tr>
        <tr>
            <td class="default-column"><%= Resources.Resource.Website%>:</td>
            <td class="alternate-column"><asp:TextBox ID="WebsiteTextBox" runat="server" Width="300" /></td>
        </tr>
        <tr>
            <td class="default-column"><%= Resources.Resource.Signature%>:</td>
            <td class="alternate-column"><asp:TextBox ID="SignatureTextBox" runat="server" Width="500" TextMode="MultiLine" Rows="3" /></td>
        </tr>
        <tr>
            <th colspan="2"><%= GetLocalResourceObject("PersonalInformation") %></th>
        </tr>
        <tr>
            <td class="default-column"><%= Resources.Resource.FirstName %>:</td>
            <td class="alternate-column"><asp:TextBox ID="FirstNameTextBox" runat="server" Width="250" /></td>
        </tr>
        <tr>
            <td class="default-column"><%= Resources.Resource.LastName%>:</td>
            <td class="alternate-column"><asp:TextBox ID="LastNameTextBox" runat="server" Width="250" /></td>
        </tr>
        <tr>
            <td class="default-column"><%= Resources.Resource.Gender%>:</td>
            <td class="alternate-column">
                <asp:DropDownList ID="GenderDropDownList" runat="server">
                    <asp:ListItem Value="0">I rather not tell</asp:ListItem>
                    <asp:ListItem Value="1">Male</asp:ListItem>
                    <asp:ListItem Value="2">Female</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="default-column"><%= Resources.Resource.Email %>:</td>
            <td class="alternate-column">
                <asp:TextBox ID="EmailTextBox" runat="server" Width="250" />
                <asp:RegularExpressionValidator ID="RegularExpressionValidator" EnableClientScript="false" ControlToValidate="EmailTextBox" ValidationExpression="^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$" ErrorMessage="<%$ Resources:InvalidEmail %>" runat="server" />
            </td>
        </tr>
        <tr>
            <th colspan="2"><%= GetLocalResourceObject("PersonalSettings") %></th>
        </tr>
        <tr>
            <td class="default-column"><%= GetLocalResourceObject("TopicsPerPage") %>:</td>
            <td class="alternate-column">
                <asp:DropDownList ID="TopicsPerPageDropDownList" runat="server">
                    <asp:ListItem Value="0">Default</asp:ListItem>
                    <asp:ListItem Value="10">10</asp:ListItem>
                    <asp:ListItem Value="20">20</asp:ListItem>
                    <asp:ListItem Value="50">50</asp:ListItem>
                    <asp:ListItem Value="100">100</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="default-column"><%= GetLocalResourceObject("MessagesPerPage") %>:</td>
            <td class="alternate-column">
                <asp:DropDownList ID="MessagesPerPageDropDownList" runat="server">
                    <asp:ListItem Value="0">Default</asp:ListItem>
                    <asp:ListItem Value="10">10</asp:ListItem>
                    <asp:ListItem Value="20">20</asp:ListItem>
                    <asp:ListItem Value="50">50</asp:ListItem>
                    <asp:ListItem Value="100">100</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <th colspan="2"><%= GetLocalResourceObject("LayoutSettings") %></th>
        </tr>
        <tr>
            <td class="default-column"><%= GetLocalResourceObject("Theme") %></td>
            <td class="alternate-column">
                <asp:DropDownList ID="ThemeDropDownList" runat="server"></asp:DropDownList>
            </td>
        </tr>
        <tr>
            <th colspan="2"><%= GetLocalResourceObject("FillInYourPassword") %></th>
        </tr>
        <tr>
            <td class="default-column"><%= Resources.Resource.Password %>:</td>
            <td class="alternate-column">
                <asp:TextBox ID="PasswordTextBox" runat="server" Width="200" TextMode="Password" />
            </td>
        </tr>
        <tr>
            <td class="options-column" colspan="2">
                <asp:Button ID="SaveButton" runat="server" Text="Save" OnClick="SaveButton_Click" />
            </td>
        </tr>
    </table>
    <br>

</asp:Content>
